FROM openjdk:11.0.4

EXPOSE 8010

MAINTAINER jw <jw@169.com>

VOLUME /var/project

ADD ./target/rest-1.0.0.jar /rest.jar

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/rest.jar","--spring.profiles.active=pro"]